home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
kats.z
/
kats
Wrap
Text File
|
1998-10-30
|
7KB
|
199 lines
KKKKAAAATTTTSSSS((((1111)))) KKKK----AAAASSSShhhhaaaarrrreeee bbbbyyyy XXXXiiiinnnneeeetttt ((((22229999 JJJJuuuullll 1111999999996666 8888....3333)))) KKKKAAAATTTTSSSS((((1111))))
NNNNAAAAMMMMEEEE
kats, kscp, ksmv, ksrm - K-AShare File Manipulation
Utilities
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
kkkkaaaattttssss [ ----sssscccciiiippppSSSSbbbb ] [ ----TTTTCCCC _t_y_p_e ] [ _f_i_l_e_n_a_m_e ... ]
kkkkaaaattttssss ----oooo [ _d_i_r_n_a_m_e ]
kkkkssssccccpppp _f_i_l_e_1 [ _f_i_l_e_2 ... ] _t_a_r_g_e_t
kkkkssssmmmmvvvv _f_i_l_e_1 [ _f_i_l_e_2 ... ] _t_a_r_g_e_t
kkkkssssrrrrmmmm _f_i_l_e ...
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
These routines let you copy, delete, move and set AppleShare
attributes for K-AShare files.
K-AShare stores AppleShare specific information, such as
file Type and Creator and the resource fork, in several
utility files. This information will be lost if you use
_c_p(_1), _m_v(_1) and _r_m(_1), to move K-AShare files around a unix
filesystem. If you use _k_s_c_p, _k_s_m_v, and _k_s_r_m, the AppleShare
info will be moved or deleted as necessary.
_K_a_t_s is an administrative program used to view and set
various AppleShare file attributes, including the invisible
and copy-protected attributes and the Type and Creator
fields. _I_n_v_i_s_i_b_l_e files and directories will not be
visible to Appleshare clients. The Macintosh finder will
refuse to copy _c_o_p_y-_p_r_o_t_e_c_t_e_d files. Directories cannot be
copy protected.
When no options are supplied, _k_a_t_s prints out information
either about the specified files or all files in the current
directory if no files are specified.
The attributes are in the .HSancillary file rather than in
the file itself. Only the owner of files and root are
allowed to change attributes.
OOOOPPPPTTTTIIIIOOOONNNNSSSS
----ssss Set the requested attributes. This is the default.
----cccc Clear the requested attributes.
----iiii Make the file invisible.
----bbbb The file has a bundle.
----SSSS The file can be shared.
----oooo Check for and delete "orphaned" resource forks from
_d_i_r_n_a_m_e (or the current directory if _d_i_r_n_a_m_e is
absent). Orphaned resource forks are .HSResource
Page 1 (printed 3/26/98)
KKKKAAAATTTTSSSS((((1111)))) KKKK----AAAASSSShhhhaaaarrrreeee bbbbyyyy XXXXiiiinnnneeeetttt ((((22229999 JJJJuuuullll 1111999999996666 8888....3333)))) KKKKAAAATTTTSSSS((((1111))))
directory entries that have no corresponding data
files. Theses files will not appear in K-AShare
volumes. They can crop up when users use _c_p, _m_v and _r_m
instead of _k_s_c_p, _k_s_m_v, and _k_s_r_m to manipulate K-AShare
files. This option has been superceded by the
_d_t_r_e_b_u_i_l_d(1m) ----cccclllleeeeaaaannnn option.
----pppp Copy protect the file.
----TTTT _t_y_p_e
Change the Macintosh file type.
----CCCC _t_y_p_e
Change the Macintosh file creator.
FFFFIIIILLLLEEEESSSS
*/.HSancillary File for additional file
information needed by
Macintosh.
*/.HSResource/* Directory for storing the
resource fork of files
EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
Print information about all files in the current directory:
kats
Make the file _f_o_o copy-protected:
kats -ps foo
Make the file _f_o_o a TeachText file:
kats -T TEXT -C ttxt foo
SSSSEEEEEEEE AAAALLLLSSSSOOOO
_K-_A_S_h_a_r_e _A_d_m_i_n_i_s_t_r_a_t_o_r'_s _G_u_i_d_e
_k_s_d(1)
CCCCAAAAVVVVEEEEAAAATTTTSSSS
Once files are typed by K-AShare, the _f_i_l_e_t_y_p_e(_5) database
will not be consulted. If you change the rules for typing a
particular type of file, it will not change the type of
already existing files of that type. _K_a_t_y_p_e(_1) can be used
to check the validity of your _f_i_l_e_t_y_p_e(_5) database. _K_a_t_s
shows you the files as K-AShare currently has them typed.
BBBBUUUUGGGGSSSS
_K_a_t_s normally should be run in the directory where the
specified files resides (although if one of the _f_i_l_e_n_a_m_e
args has a pathname component, _K_a_t_s will change to that
directory before processing).
If you are not the super-user and you copy or move files
Page 2 (printed 3/26/98)
KKKKAAAATTTTSSSS((((1111)))) KKKK----AAAASSSShhhhaaaarrrreeee bbbbyyyy XXXXiiiinnnneeeetttt ((((22229999 JJJJuuuullll 1111999999996666 8888....3333)))) KKKKAAAATTTTSSSS((((1111))))
that you do not own between different directories, the
permissions of the resulting files may not be set correctly.
Page 3 (printed 3/26/98)